package com.heima.apis.article.fallback;

import com.heima.apis.article.ArticleClient;
import com.heima.model.article.dtos.ArticleDto;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FallbackFactory;
import org.springframework.stereotype.Component;

/**
 * @Author:篍
 * @Date: 2025/09/25 21:21
 * @Description:
 */
@Component
public class ArticleClientFallback implements ArticleClient {
    @Override
    public ResponseResult saveApArticle(ArticleDto dto) {
        return ResponseResult.okResult(-1L);
    }
}
